/*    */ package com.zimbra.cs.util.tnef.mapi;
/*    */ 
/*    */ import net.fortuna.ical4j.model.WeekDay;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public enum DayOfWeek
/*    */ {
/* 34 */   SU(0L, 1, WeekDay.SU), 
/* 35 */   MO(1L, 2, WeekDay.MO), 
/* 36 */   TU(2L, 3, WeekDay.TU), 
/* 37 */   WE(3L, 4, WeekDay.WE), 
/* 38 */   TH(4L, 5, WeekDay.TH), 
/* 39 */   FR(5L, 6, WeekDay.FR), 
/* 40 */   SA(6L, 7, WeekDay.SA);
/*    */   
/*    */   private final long MapiPropValue;
/*    */   private final int JavaDOW;
/*    */   private final WeekDay iCal4JWeekDay;
/*    */   
/*    */   private DayOfWeek(long propValue, int javaDOW, WeekDay iCal4JDOW) {
/* 47 */     this.MapiPropValue = propValue;
/* 48 */     this.JavaDOW = javaDOW;
/* 49 */     this.iCal4JWeekDay = iCal4JDOW;
/*    */   }
/*    */   
/*    */   public long mapiPropValue() {
/* 53 */     return this.MapiPropValue;
/*    */   }
/*    */   
/*    */   public int javaDOW() {
/* 57 */     return this.JavaDOW;
/*    */   }
/*    */   
/*    */   public WeekDay iCal4JWeekDay() {
/* 61 */     return this.iCal4JWeekDay;
/*    */   }
/*    */   
/*    */   public static final DayOfWeek getDayOfWeek(int dayOfWeek) {
/* 65 */     switch (dayOfWeek) {
/*    */     case 0: 
/* 67 */       return SU;
/*    */     case 1: 
/* 69 */       return MO;
/*    */     case 2: 
/* 71 */       return TU;
/*    */     case 3: 
/* 73 */       return WE;
/*    */     case 4: 
/* 75 */       return TH;
/*    */     case 5: 
/* 77 */       return FR;
/*    */     case 6: 
/* 79 */       return SA;
/*    */     }
/* 81 */     return null;
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/util/tnef/mapi/DayOfWeek.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */